<?php
namespace App\Models\Eticket;
use Illuminate\Database\Eloquent\Model;
use App\Traits\ActionButtonAttributeTrait;
class Ticket extends Model
{
	use ActionButtonAttributeTrait;

	//type
    const INIT = 0;//库中
    const OCCUPIED = 1;//被占
    const TURN_OUT = 2;//转出
    const DESTROY = 3;//销毁

    //way
    const ONLINE=0;//线上
    const OFFLINE=1;//线下

    private $action = 'ticket';

    protected $guarded = [];

    public function __construct(array $attributes = [])
    {
        parent::__construct($attributes);
    }
}
